class ChildrenController < ApplicationController
  
  def check_login_out_variable
    if !session['login_out']
      session['login_out'] = "Login"
    end
  end
  private :check_login_out_variable
  
  def index
    check_login_out_variable
  end
  
  def about
    check_login_out_variable
  end
  
  def list
    check_login_out_variable
    @child_pages, @children = paginate :children, :per_page => 10
  end
  
  def sponser_a_child
    
  end
end
